package simulation.bankSim;

/*
 * 用户类
 * 
 * 用户有三个属性：姓名，卡号，电话号码
 * 
 * */
public class Customer {
	private String name; // 姓名
	private String cardNo; // 卡号
	private String phone; // 电话号码
	
	public Customer(String name, String cardNo, String phone) {
		super();
		this.name = name;
		this.cardNo = cardNo;
		this.phone = phone;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
}
